package com.jc.service.api;

import java.util.HashMap;

public class Result extends HashMap<String, Object>{
	
	private static final long serialVersionUID = -7065677053105334135L;

	
	public Result() {
		super();
	}
	
	public Result(String code,String message) {
		put("code",code);
		put("message",message);
	}
	
	
	public Result(String code,String message,Object data) {
		put("code",code);
		put("message",message);
		put("data",data);
	}
	
	
}
